package thread.demo.linkedList;

import java.util.LinkedList;

public class LinkedListTest002 {
  public static void main(String[] args) {
    LinkedList<Integer> list = new LinkedList<>();
    
    list.addFirst(1);
    list.addFirst(2);
    
    System.out.println(list.get(0));
    System.out.println(list.get(1));
  }
}
